<?php

require_once 'dotestresponse.php';

$response = new Entity\Response();
$response->body = 'CF Body - Cookies Test';
$response->cookies [] = new Entity\ResultCookie( 'simple', 'one' );
$response->cookies [] = new Entity\ResultCookie( 'complex', 'e=mc^2', new \DateTime('August 30th, 2008 UTC'), 'cf.no', '/test', TRUE, TRUE );
$response->cookies [] = new Entity\ResultCookie( 'speed', 'v=9.8*(m/s^2)', NULL, '', '', FALSE, TRUE );
$response->cookies [] = new Entity\ResultCookie( 'warp', 'G=(8*pi/c^4)GT' );
$response->cookies[3]->expire = new \DateTime('Dec 12, 2034 UTC');
$response->cookies[3]->secure = TRUE;

DoTestResponse::$response = $response;
DoTestResponse::test();
